﻿using UnityEngine;
using UnityEditor;
using System.Collections;

public class mEditor 
{
    [MenuItem("mTools/Create a AniamtionCurve")]
    public static void Create_AniamtionCurve()
    {
        Debug.Log("Create mAniamtionCurve");

        mAniamtionCurve mAni = ScriptableObject.CreateInstance<mAniamtionCurve>();
        AssetDatabase.CreateAsset(mAni, "Assets/Resources/mAnim.asset");
    }
}
